package com.victualler.business.customer.dto;

import com.victualler.business.customer.entity.PreCustomerItemDao;
import com.victualler.business.customer.entity.PreCustomerOrderDao;

import java.util.List;

/**
 * @author Guoshichang
 * @since 18:48 on 2018/11/14.
 */
public class PreCustomerInfoDto {
    /** 主信息 */
    private PreCustomerOrderDao orderDao;
    /** 子信息列表 */
    private List<PreCustomerItemDao> itemDaoList;

    public PreCustomerInfoDto() {
    }

    public PreCustomerInfoDto(PreCustomerOrderDao orderDao, List<PreCustomerItemDao> itemDaoList) {
        this.orderDao = orderDao;
        this.itemDaoList = itemDaoList;
    }

    public PreCustomerOrderDao getOrderDao() {
        return orderDao;
    }

    public void setOrderDao(PreCustomerOrderDao orderDao) {
        this.orderDao = orderDao;
    }

    public List<PreCustomerItemDao> getItemDaoList() {
        return itemDaoList;
    }

    public void setItemDaoList(List<PreCustomerItemDao> itemDaoList) {
        this.itemDaoList = itemDaoList;
    }
}
